load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")

go_library(
    name = "hasher_lib",
    srcs = ["main.go"],
    importpath = "github.com/bazelbuild/rules_python/gazelle/manifest/hasher",
    visibility = ["//visibility:private"],
)

go_binary(
    name = "hasher",
    embed = [":hasher_lib"],
    visibility = ["//visibility:public"],
)

filegroup(
    name = "distribution",
    srcs = glob(["**"]),
    visibility = ["//manifest:__pkg__"],
)
